package com.wzm.serv.service.impl;

import com.wzm.serv.domain.ProductDetail;
import com.wzm.serv.mapper.ProductDetailMapper;
import com.wzm.serv.service.IProductDetailService;
import com.wzm.basic.service.impl.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 业务实现类：
 */
@Service
public class ProductDetailServiceImpl extends BaseServiceImpl<ProductDetail> implements IProductDetailService {
    @Autowired
    private ProductDetailMapper productDetailMapper;
    @Override
    public ProductDetail findByProductId(Long id) {
        return productDetailMapper.findByProductId(id);
    }
}
